import request from '@/util/request.js'


/* 获取用户的个人信息 */

export function getUserInfo() {
  return request.get('user/userInfo', {
    headers: {
      "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGFpbXMiOnsiaWQiOjMsInVzZXJuYW1lIjoiMTIxMjEyIn0sImV4cCI6MTcxMjQxMDAwM30.8dyBkaVPDl6lp6t0hPqDaa7woGgkNSESn2pNCxNagr0"
    }
  })
}


/* 登录的校验 */